-- GENERATED SPELL FOR [Scorchshell Pincer] --


function spell0_21864(pUnit, Event) --@Burning Poison,n/a--
pUnit:FullCastSpellOnTarget(38208,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21864', 30000, 1)
end

function Sorts_21864(pUnit, Event)
local choix_sorts_21864 = math.random(0, 0)
if choix_sorts_21864 == 0 then
pUnit:RegisterEvent('spell0_21864', 1, 1)
end
end

function mob21864_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21864', math.random(1500, 3000), 1)
end

function mob21864_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21864_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21864_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21864, 1, 'mob21864_Action')
RegisterUnitEvent(21864, 2, 'mob21864_Leave')
RegisterUnitEvent(21864, 3, 'mob21864_Kill')
RegisterUnitEvent(21864, 4, 'mob21864_Die')
